<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>选项卡</title>
    <style>
        *li{

        }
        #tabs li{
            background: #999999;
            color: #ffffff;
            width: 50px;
            height: 20px;
            float: left;
        }
    </style>
</head>
<body>
<div id="container">
    <ul id="tabs">
        <li class="selected">js</li>
        <li>html</li>
        <li>css</li>
    </ul>
    <div id="content">
        <img src="" alt="">
        <img src="" alt="">
        <img src="" alt="">
        <img src="" alt="">
    </div>
</div>
</body>
</html>